package com.health.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.health.common.model.vo.UserKeyVO;
import com.health.user.model.dto.user.PatientRegisterRequest;
import com.health.user.model.entity.Patient;
import org.fisco.bcos.sdk.v3.codec.ContractCodecException;
import org.fisco.bcos.sdk.v3.transaction.model.exception.TransactionBaseException;

/**
* @author zhexueqi
* @description 针对表【patient(患者表)】的数据库操作Service
* @createDate 2024-08-25 01:31:01
*/
public interface PatientService extends IService<Patient> {

    void createPatientToMysql(PatientRegisterRequest userRegisterRequest);

    void createPatient(UserKeyVO userKeyVO, String userAccount) throws TransactionBaseException, ContractCodecException;

    void createHospital(UserKeyVO userKeyVO, String userAccount) throws TransactionBaseException, ContractCodecException;
}
